package controller

import (
	"gomvc/app/services"

	"github.com/gin-gonic/gin"
)

var Test = new(testCtl)

type testCtl struct{}

func (c *testCtl) AddOne(ctx *gin.Context) {
	services.Test.AddOne(1, ctx)
	ctx.JSON(200, gin.H{
		"message": "pong",
	})
}
